<?php
require 'Config.php';
$userName = $_GET['username'];
$res = Db::select('user', 'user_name',"where user_name='$userName'");
if($res){
	echo '1';
}else{
	echo '0';
}


